﻿using MediatR;
using MES.Process.ErrorCode;

namespace MES.Process.API.Application.Command.工艺命令
{
    /// <summary>
    /// 工艺编辑命令
    /// </summary>
    public class CraftsEditCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 工艺ID
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 工艺编号
        /// </summary>
        public string CraftsCode { get; set; }
        /// <summary>
        /// 工艺名称
        /// </summary>
        public string CraftsName { get; set; }
        /// <summary>
        /// 工艺状态
        /// </summary>
        public int CraftsStatus { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 责任人
        /// </summary>
        public string ResponsibilityName { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        public int DepartId { get; set; }
        /// <summary>
        /// 工序数量
        /// </summary>
        public int HaveProcess { get; set; }
        /// <summary>
        /// 工序字符串
        /// </summary>
        public string? Pidlist { get; set; }
        /// <summary>
        /// false：编辑
        /// true；删除
        /// </summary>
        public bool IsUpdOrDel { get; set; }
    }
}
